FernleafSystems\Wordpress\Plugin\Shield\Modules\LoginGuard\Lib\TwoFactor\Provider\BaseProvider S

Total Complexity 38
Dependencies 2
Dependents 0
Total lines 276
Lines of code 134
Logical lines of code 42
Comment lines 95
Methods 35
Properties 0

Methods 35

Method Rating Maintainability Complexity Lines of code
getCommonData()
S
57 1 18
isSecretValid()
S
78 2 3
validateLoginIntent()
S
65 2 9
getSecret()
S
74 2 4
getProfileRenderData()
S
72 1 6
getProviderSpecificRenderData()
S
82 1 3
renderUserEditProfileOptions()
S
82 1 3
handleEditOtherUserProfileSubmit()
S
91 1 2
processRemovalFromAccount()
S
91 1 2
captureLoginAttempt()
S
91 1 2
handleUserProfileSubmit()
S
91 1 2
renderUserProfileOptions()
S
70 1 7
getFormField()
S
82 1 3
auditLogin()
S
100 1 0
postOtpProcessAction()
S
76 1 4
getLoginFormParameter()
S
79 1 3
fetchCodeFromRequest()
S
78 1 3
renderUserProfileCustomForm()
S
65 1 9
__construct()
S
91 1 2
postSuccessActions()
S
82 1 3
processOtp()
S
100 1 0
getJavascriptVars()
S
82 1 3
setSecret()
S
73 1 5
setProfileValidated()
S
73 1 5
remove()
S
72 1 5
resetSecret()
S
73 1 5
deleteSecret()
S
73 1 5
isProviderEnabled()
S
100 1 0
isProviderAvailableToUser()
S
81 1 3
isProfileActive()
S
80 1 3
isEnforced()
S
82 1 3
hasValidSecret()
S
80 1 3
hasValidatedProfile()
S
78 1 3
getProviderName()
S
100 1 0
genNewSecret()
S
82 1 3